package top.burning.confidant.model.pojo;

import java.util.Date;

/**
 * 图书表
 * @author tell
 */
public class Book {
    /**
     * 自增主键
     */
    private Integer id;
    /**
     *书 id，具有唯一标识
     */

    private Integer bookId;
    /**
     * 书名
     */

    private String bookName;

    /**
     * 用户 id 做外键，联系用户表和 book 信息表
     */
    private Integer bUserId;

    /**
     * 书的国家信息
     */
    private String country;
    /**
     *书的文体
     */

    private String style;

    /**
     *书的题材
     */
    private String theme;

    /**
     * 书的新旧程度，此为 int 型，使用数字标识新旧程度
     */
    private Integer newOld;

    /**
     *书的备注
     */
    private String remark;

    /**
     *书的图片
     */
    private String bPicture;

    /**
     *书的作者
     */
    private String author;
    /**
     * 书的出版社
     */

    private String press;
    /**
     *书的状态，为 int 型，建议使用 0，1 标识书是
     * 否已卖出
     */
    private Integer state;

    /**
     *  书的收藏量
     */
    private Integer collectionNum;
    /**
     *书的价格
     */

    private Double price;
    /**
     * 创建时间，需用户输入（无此功能则无需理会）
     */

    private Date createTime;
    /**
     *  数据更改或者更新时间，时间获取系统当前时间
     */

    private Date updataTime;
    /**
     * 创建操作人员
     */

    private String createPeople;

    /**
     * 修改操作人员
     */
    private String delPeople;
    /**
     * 逻辑删除值，建议使用 0，1 表示
     */

    private Integer delValue;

    /**
     *对书进行描述
     */
    private String descri;


    public Integer getId() {
        return id;
    }


    public void setId(Integer id) {
        this.id = id;
    }


    public Integer getBookId() {
        return bookId;
    }


    public void setBookId(Integer bookId) {
        this.bookId = bookId;
    }


    public String getBookName() {
        return bookName;
    }


    public void setBookName(String bookName) {
        this.bookName = bookName == null ? null : bookName.trim();
    }


    public Integer getbUserId() {
        return bUserId;
    }


    public void setbUserId(Integer bUserId) {
        this.bUserId = bUserId;
    }


    public String getCountry() {
        return country;
    }


    public void setCountry(String country) {
        this.country = country == null ? null : country.trim();
    }


    public String getStyle() {
        return style;
    }


    public void setStyle(String style) {
        this.style = style == null ? null : style.trim();
    }


    public String getTheme() {
        return theme;
    }


    public void setTheme(String theme) {
        this.theme = theme == null ? null : theme.trim();
    }


    public Integer getNewOld() {
        return newOld;
    }


    public void setNewOld(Integer newOld) {
        this.newOld = newOld;
    }


    public String getRemark() {
        return remark;
    }


    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }


    public String getbPicture() {
        return bPicture;
    }


    public void setbPicture(String bPicture) {
        this.bPicture = bPicture == null ? null : bPicture.trim();
    }


    public String getAuthor() {
        return author;
    }


    public void setAuthor(String author) {
        this.author = author == null ? null : author.trim();
    }


    public String getPress() {
        return press;
    }


    public void setPress(String press) {
        this.press = press == null ? null : press.trim();
    }


    public Integer getState() {
        return state;
    }


    public void setState(Integer state) {
        this.state = state;
    }


    public Integer getCollectionNum() {
        return collectionNum;
    }


    public void setCollectionNum(Integer collectionNum) {
        this.collectionNum = collectionNum;
    }


    public Double getPrice() {
        return price;
    }


    public void setPrice(Double price) {
        this.price = price;
    }


    public Date getCreateTime() {
        return createTime;
    }


    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }


    public Date getUpdataTime() {
        return updataTime;
    }


    public void setUpdataTime(Date updataTime) {
        this.updataTime = updataTime;
    }


    public String getCreatePeople() {
        return createPeople;
    }


    public void setCreatePeople(String createPeople) {
        this.createPeople = createPeople == null ? null : createPeople.trim();
    }


    public String getDelPeople() {
        return delPeople;
    }


    public void setDelPeople(String delPeople) {
        this.delPeople = delPeople == null ? null : delPeople.trim();
    }


    public Integer getDelValue() {
        return delValue;
    }


    public void setDelValue(Integer delValue) {
        this.delValue = delValue;
    }


    public String getDescri() {
        return descri;
    }


    public void setDescri(String descri) {
        this.descri = descri == null ? null : descri.trim();
    }
}